BMI\Plugin\BMI_Ajax D

Total Complexity 859
Dependencies 24
Dependents 1
Total lines 3,651
Lines of code 2,616
Logical lines of code 2,136
Comment lines 297
Methods 61
Properties 8

Methods 61

Method Rating Maintainability Complexity Lines of code
prepareAndMakeBackup()
D
17
65 204
parseFilesForBackup()
D
20
67 162
restoreBackup()
D
17
64 204
saveOtherOptions()
D
22
63 151
saveStorageConfig()
D
27
52 114
__construct()
D
27
52 110
saveFilesConfig()
D
26
46 130
scanFilesForBackup()
D
28
40 117
sendTroubleshootingDetails()
D
24
36 158
createBackup()
D
32 41 82
handleQuickMigration()
D
27
29 132
calculateCron()
C
33 26 91
migrationExceptionHandler()
C
34 24 81
removeBackupFile()
B
37 23 64
forceRestoreToStop()
B
40 22 55
backupErrorHandler()
B
38 20 63
forceBackupToStop()
B
42 19 46
checkStagingLocalName()
A
41 13 52
frontEndAjaxError()
A
45 12 37
resetLatestLogs()
A
44 10 40
isMigrationLocked()
A
50 10 25
checkIfPHPCliExist()
A
48 9 31
downloadFile()
A
45 8 40
rrmdir()
A
55 9 19
saveStorageTypeConfig()
A
47 8 32
tastewpStagingCreation()
A
55 8 17
getLatestBackupFile()
S
52 5 24
isRunningBackup()
S
56 5 16
sendTestMail()
S
59 5 13
toggleBackupLock()
S
57 4 15
startLocalStagingCreation()
S
59 4 13
localStagingCreationProcess()
S
59 4 13
logSharing()
S
61 4 12
dirSize()
S
53 3 21
makeBackupName()
S
46 2 36
backupBrowserMethodHandler()
S
55 3 18
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
actionsAfterProcess()
S
62 3 11
stopBackup()
S
63 3 10
isStagingSiteCreationOngoing()
S
66 3 8
isFunctionEnabled()
S
68 3 6
revertUnameProcess()
S
64 3 9
resetConfiguration()
S
62 2 12
fixUnameFunction()
S
61 2 11
migrationErrorHandler()
S
63 2 10
backupExceptionHandler()
S
63 2 10
dismissErrorNotice()
S
81 1 3
getSiteData()
S
69 1 6
getDatabaseSize()
S
66 1 8
handleChunkUpload()
S
80 1 3
getBackupsList()
S
69 1 6
stagingSitesGetList()
S
69 1 6
stagingRename()
S
67 1 7
stagingPrepareLogin()
S
69 1 6
continueRestoreProcess()
S
91 1 2
revertLitespeed()
S
76 1 4
stagingDelete()
S
69 1 6
fixLitespeed()
S
76 1 4
debugging()
S
91 1 2
checkCompatibility()
S
69 1 6